<!DOCTYPE html>
<html lang="ch-CN">
<head>
    <meta charset="UTF-8">
    <title>自行车</title>
    <style>
        .img{
            width: 130px;
            height: 130px;
            margin: 200px auto 0 auto;
            overflow: hidden;
            background-image: url("images/bike.png");
            animation: bike 1s 0.5s steps(31) infinite;
        }
        @keyframes bike {
            0%{

            }
            100%{
                background-position: 0 -4030px;
            }
        }
    </style>
</head>
<body>
    <div class="img"></div>
</body>
</html>